<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ include file="/jsp/common/tagLibs.jsp"%>
<head>
<meta content="no-cache" http-equiv="PRAGMA"/>
<meta content="Mon, 04 Dec 1999 21:29:02 GMT" http-equiv="Expires"/>
<script type="text/javascript">
    var contextRoot="${pageContext.request.contextPath}";
    var base=contextRoot+"/chart/";
</script>

<!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
<!-- BEGIN Browser History required section -->
<link rel="stylesheet" type="text/css" href="history/history.css" />
<script type="text/javascript" src="history/history.js"></script>
<!-- END Browser History required section -->
<script type="text/javascript" src="${pageContext.request.contextPath}/js/library/swfobject.js"></script>

  <script type="text/javascript">	  
            // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. 
            var swfVersionStr = "10.2.0";
            // To use express install, set to playerProductInstall.swf, otherwise the empty string. 
            var timestamp=new Date().getTime();
            var xiSwfUrlStr =base+ "playerProductInstall.swf";
            var flashvars = {};
			flashvars.url = "${pageContext.request.contextPath}/search/graph.html?t="+timestamp;
            var params = {};
            params.quality = "high";
            params.bgcolor = "#ffffff";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            var attributes = {};
            attributes.id = "Main";
            attributes.name = "Main";
            attributes.align = "middle";
            swfobject.embedSWF(
            		base+"BankScorecard.swf", "flashcontent", 
                "790", "600", 
                swfVersionStr, xiSwfUrlStr, 
                flashvars, params, attributes);
            // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
          // swfobject.createCSS("#BankScorecard.swf?t=" + new Date().getTime(), "display:block;text-align:left;");
        </script> 
</head>
<body>

        <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough 
             JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
             when JavaScript is disabled.
        -->
        <div id="flashcontent">
            <p>
                To view this page ensure that Adobe Flash Player version 
                10.2.0 or greater is installed. 
            </p>
            <script type="text/javascript"> 
                var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://"); 
                document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='" 
                                + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" ); 
            </script> 
        </div>
   </body>
